import { Form, Select } from "antd"
import styled from "styled-components"

export const ManualAdjustForm = styled(Form)`
	.ant-form-item-label {
		width: 80px;
	}
`

export const StyleContainter = styled.div`
	.title-first {
		margin-left: 10px;
	}
	.note-name {
		margin-top: 10px;
	}
	.title-gender {
		margin-left: 69px;
	}
	.ant-form-item-label {
		width: 110px;
	}
	.area-title {
		width: 200px;
	}
	.phone-number {
		flex: 1;
	}
	w-full {
		width: 100%;
	}
	.account-status {
		width: 90px;
		text-align: right;
		padding-top: 4px;
	}
`
export const ActionsContainer = styled.div`
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	flex-wrap: wrap;

	button {
		display: flex;
		align-items: center;
		height: 40px;
	}

	.edit-title {
		display: flex;
		flex-direction: column;
		padding-left: 20px;
		border-left: 1px solid #ccc;
		align-items: center;
		font-size: 20px;
		line-height: 20px;
	}
	.title-basic-info {
		background: black;
	}
`

export const ContentContainer = styled.div`
	display: flex;
	flex-wrap: wrap;
	row-gap: 10px;
	margin-top: 20px;
	h2 {
		font-size: 20px;
		width: 100%;
	}

	.content-item {
		display: flex;
		gap: 10px;
		min-width: 200px;
		width: 25%;
	}
`

export const UserInfoContainer = styled.div`
	border-top: 1px solid #dcdfe6;
	border-bottom: 1px solid #dcdfe6;
	padding: 20px 0px;
	margin: 20px 0px;

	.personal-apply-color {
		color: #e6a23c;
	}

	.user-info-content {
		display: flex;
		gap: 35px;
		margin-top: 20px;
		.avatar {
			width: 150px;
			img {
				border-radius: 50%;
				width: 90px;
			}
		}
		.info-item {
			display: flex;
			gap: 10px;
			width: 200px;
		}
	}
	h2 {
		font-size: 20px;
		width: 100%;
	}
`

export const BasicInfoContainer = styled.div`
	overflow: auto;
	max-height: 60vh;
	overflow-x: hidden;
	padding-right: 10px;
`
export const StyleSelect = styled(Select)<{ w?: number }>`
	width: ${props => (props.w ? props.w : "0")}px !important;
	min-width: 90px;
`
